package com.example.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.commons.core.entity.Right;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RightMapper extends BaseMapper<Right> {

    List<Right> rightFindByUserId(@Param("userId") Long userId);
}
